-- GENERATED SPELL FOR [Witchwing Harpy] --


function spell0_3276(pUnit, Event) --@Curse of Mending,n/a--
pUnit:FullCastSpellOnTarget(7098,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3276', 2000, 1)
end

function Sorts_3276(pUnit, Event)
local choix_sorts_3276 = math.random(0, 0)
if choix_sorts_3276 == 0 then
pUnit:RegisterEvent('spell0_3276', 1, 1)
end
end

function mob3276_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3276', math.random(1500, 3000), 1)
end

function mob3276_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3276_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3276_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3276, 1, 'mob3276_Action')
RegisterUnitEvent(3276, 2, 'mob3276_Leave')
RegisterUnitEvent(3276, 3, 'mob3276_Kill')
RegisterUnitEvent(3276, 4, 'mob3276_Die')
